﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Persistencia.Tabelas
{
    [Table(Name = "Pessoas")]
    public class Pessoas : Context
    {

        [Column(IsPrimaryKey = true, IsDbGenerated = true)]
        public int Codigo { get; set; }

        [Column]
        public string Nome { get; set; }

        [Column]
        public int Telefone { get; set; }

        [Column]
        public int Telefone2 { get; set; }

        [Column]
        public string Contato { get; set; }

        [Column]
        public int CPFCNPJ { get; set; }

        [Column]
        public char PJPF { get; set; }

        [Column]
        public char Situacao { get; set; }

        [Column]
        public string Email { get; set; }

        [Column]
        public char CliFor { get; set; }

        [Column]
        public int CodGrupo { get; set; }
    }
}
